<template>
  <div id="app">
    <router-view v-if="!$route.meta.keepAlive" /><!-- 不缓存 -->
    <keep-alive>
        <router-view v-if="$route.meta.keepAlive"/><!-- 缓存视图 -->
    </keep-alive>
  </div>
</template>
<style lang="less">
@import './assets/css/base.less';
@import './assets/css/global.css';
*{
    padding: 0px;
    margin: 0px;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
#apparea{
    width: 100% !important;
    overflow: hidden;
    scrollbar-width:none;
}
#apparea::-webkit-scrollbar{
    display: none;
}
#app{
    width: 100% !important;
    overflow: hidden;
    scrollbar-width:none;
}
#app::-webkit-scrollbar{
    display: none;
}
#__vconsole{
    display: none;
}
#__vconsole.show{
    display: block !important;
}
</style>
